package com.homework.test2;

public class Demo4 {
    public static void main(String[] args) {
        double a = 0.01;
        int count = 0;
        while (true){
            a = a*2;
            count++;
            if (a>=8848){
                break;
            }
        }
        System.out.println("需要折"+count+"次");
    }
}
